package com.shuiyun.service;

import com.shuiyun.entity.Goods;
import com.shuiyun.utils.DataGridResult;
import com.shuiyun.utils.Query;

public interface GoodsService {
    DataGridResult findAllGoods(Query query);

    Goods findGoodsById(Integer goodsId);

    //更新货物
    int updateGoods(Goods goods);

    //删除货物
    int deleteGoods(Integer[] ids);

    //添加货物
    int addGoods(Goods goods);
}
